<?php
class MapaController extends Arm_Controller_Action
{
    public function indexAction()
    {
        $navigation = new Arm_Navigation();
        $this->view->data = $navigation->getMenuDataMapa('user');
    }
    
    /**
     * Карта для поисковиков.
     */
    public function sitemapAction()
    {
        $navigation = new Arm_Navigation();
      
        $this->view->data = $navigation->getMenuDataMapa('user');
        $this->getResponse()->clearAllHeaders();
        $this->getResponse()->setHeader('Content-Type', 'application/xml');
        $this->disableViewRenderLayout(false);
    }
}